package com.pptree.dao;

import java.util.List;
import com.pptree.vo.Genre;

public interface GenreDAO {
	public int addGenre(Genre genre);
	public int delGenre(int id);
	public int updGenre(Genre genre);
	public Genre findGenreById(int id);
	public List<Genre> findAllGenre();
	public Genre findGenreByName(String name);
	public boolean updExistsName(String oldName,String newName);
}
